package com.seaboxdata.service.impl;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.seaboxdata.dao.EngineeringInfoDao;
import com.seaboxdata.entity.EngineeringInfo;
import com.seaboxdata.service.EngineeringInfoService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

@Service
public class EngineeringInfoServiceImpl extends ServiceImpl<EngineeringInfoDao, EngineeringInfo> implements EngineeringInfoService {

    @Autowired
    private EngineeringInfoDao engineeringInfoDao;

    @Override
    public String getMaxGenerateTime(){
        return baseMapper.getMaxGenerateTime();
    }

    @Override
    public void insert(EngineeringInfo engineeringInfo) {
        engineeringInfoDao.insert(engineeringInfo);
    }
}
